﻿using System;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;

namespace ContentSliderWebPart.VisualWebPart1
{
    public partial class VisualWebPart1UserControl : UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
        }

        public override void RenderControl(HtmlTextWriter writer)
        {
            JCarousel webpart = (JCarousel)this.Parent;
            writer.Write("<div id=\"ListName\" class=\"property\" style=\"display : none\">" + webpart.Listname + "</div>");
            base.RenderControl(writer);
        }
    }
}
